home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2001 May / SGI Freeware 2001 May - Disc 2.iso / dist / fw_libxml.idb / usr / freeware / include / gnome-xml / nanohttp.h.z / nanohttp.h
C/C++ Source or Header  |  2001-04-12  |  920b  |  38 lines

  1. /*
  2.  * nanohttp.c: minimalist HTTP implementation to fetch external subsets.
  3.  *
  4.  * See Copyright for the status of this software.
  5.  *
  6.  * Daniel.Veillard@w3.org
  7.  */
  8.  
  9. #ifndef __NANO_HTTP_H__
  10. #define __NANO_HTTP_H__
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. void    xmlNanoHTTPInit        (void);
  15. void    xmlNanoHTTPCleanup    (void);
  16. void    xmlNanoHTTPScanProxy    (const char *URL);
  17. int    xmlNanoHTTPFetch    (const char *URL,
  18.                  const char *filename,
  19.                  char **contentType);
  20. void *    xmlNanoHTTPMethod    (const char *URL,
  21.                  const char *method,
  22.                  const char *input,
  23.                  char **contentType,
  24.                  const char *headers);
  25. void *    xmlNanoHTTPOpen        (const char *URL,
  26.                  char **contentType);
  27. int    xmlNanoHTTPReturnCode    (void *ctx);
  28. int    xmlNanoHTTPRead        (void *ctx,
  29.                  void *dest,
  30.                  int len);
  31. int    xmlNanoHTTPSave        (void *ctxt,
  32.                  const char *filename);
  33. void    xmlNanoHTTPClose    (void *ctx);
  34. #ifdef __cplusplus
  35. }
  36. #endif
  37. #endif /* __NANO_HTTP_H__ */
  38.